package cn.dgiot.fd.dao;

import java.util.List;

import cn.dgiot.fd.model.DeviceUpgradeModel;
import org.apache.ibatis.annotations.Mapper;

/**
 * [设备升级记录]
 * @author
 *
 */
@Mapper
public interface IDeviceUpgradeDAO {

	/**
	 * [查询设备升级记录]
	 * @param deviceUpgradeModel
	 * @return DeviceUpgradeModel
	 */
	DeviceUpgradeModel getDeviceUpgrade(DeviceUpgradeModel deviceUpgradeModel);
 	
	/**
	 * [保存设备升级信息]
	 * @param deviceUpgradeModel
	 */
 	void insertDeviceUpgrade(List<DeviceUpgradeModel> deviceUpgrades);
	
 	/**
 	 * [修改设备升级状态]
 	 * @param deviceUpgradeModel
 	 */
 	void updateDeviceUpgradeStatus(DeviceUpgradeModel deviceUpgradeModel);
 	

 	/**
 	 * [修改设备升级信息]
 	 * @param deviceUpgradeModel
 	 */
 	void updateDeviceUpgrade(DeviceUpgradeModel deviceUpgradeModel);
	
}
